<template>
  <div>登录</div>
</template>

<script lang="ts" setup>
import { login } from '@/api/user/index';
import { ElMessage } from 'element-plus';
defineOptions({
  name: 'login',
});
ElMessage.success('登录成功');
login({ username: 'admin', password: '123456' });
</script>

<style scoped></style>
